package com.xja.shoppingmall;

import com.xja.shoppingmall.config.DataSourceProxyAutoConfiguration;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.Import;
import org.springframework.data.jpa.repository.config.EnableJpaAuditing;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

/**
 * @author CHENCHEN
 * @title
 * @createTime 2021-12-1423:19
 */
@Import(DataSourceProxyAutoConfiguration.class)
@EnableJpaAuditing
@EnableSwagger2
@EnableDiscoveryClient
@EnableFeignClients
@SpringBootApplication
public class OrdersApplication {

    public static void main(String[] args) {
        SpringApplication.run(OrdersApplication.class, args);
    }
}
